package hu.u_szeged.inf.ovrt.ioc_demo.beans;

public class User {
    private final String userName;
    private final String name;
    
    public User(String userName, String name) {
        this.userName = userName;
        this.name = name;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public String getName() {
        return name;
    }
    
    @Override
    public String toString() {
        return userName + " - " + name;
    }
}
